using Newtonsoft.Json;

namespace Betfair.Api
{
    public sealed class PriceSize
    {
        public PriceSize(double price, double size)
        {
            Price = price;
            Size = size;
        }

        [JsonProperty("price")]
        public double Price { get; set; }

        [JsonProperty("size")]
        public double Size { get; private set; }
    }
}